package com.project.design.factory.methodFactory;

public class ConcreteFactoryTwo implements AbstractFactory{

    @Override
    public Product newProduct() {
        System.out.println("具体工厂B生成-->具体产品B...");
        return new ConcreteProductTwo();
    }
}
